package com.imooc.product.enums;

import lombok.Data;
import lombok.Getter;

/**
 * @author wy
 * @version 1.0
 * @date 2020/3/2 12:04
 * @description 商品状态枚举类
 **/
@Getter
public enum ProductStatusEnum {

    UP(0,"在架"),
    DOWN(1,"下架"),

    ;

    private Integer code;
    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
